package com.zyy.joseata.constant;

public class TxEventTypeConst {

    /** 全局事务发起事件 */
    public static final String GLOBAL_TX_START_EVENT ="globalTxStartEvent";

    /** 全局事务响应 */
    public static final String GLOBAL_TX_RESPONSE_EVENT ="globalTxResponseEvent";

    /** 全局事务提交 */
    public static final String GLOBAL_TX_COMPLETE = "globalTxComplete";

    /** 全局事务confirm响应 */
    public static final String GLOBAL_TX_RESPONSE_CONFIRM = "globalTxResponseConfirm";

    /** 全局事务cancel响应 */
    public static final String GLOBAL_TX_RESPONSE_CANCEL = "globalTxResponseCancel";

    /** RM事务开始 */
    public static final String RM_TX_BEGIN="rmTxBegin";

    /** RM事务提交 */
    public static final String RM_TX_COMMIT="rmTxCommit";

    /** RM事务回滚 */
    public static final String RM_TX_ROLLBACK="rmTxRollback";

    /** MQ事务发送 */
    public static final String MQ_TX_SEND="mqTxSend";

    /** MQ事务发送失败 */
    public static final String MQ_TX_SEND_FAIL="mqTxSendFail";

    /** MQ事务发送成功 */
    public static final String MQ_TX_SEND_SUCCESS="mqTxSendSuccess";

    /** MQ事务消费失败 */
    public static final String MQ_TX_CONSUME_FAIL ="mqTxConsumeFail";

    /** MQ事务消费成功 */
    public static final String MQ_TX_CONSUME_SUCCESS="mqTxConsumeSuccess";
}
